﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.House
{
    [Table("Hotel")]
    public class Hotel
    {
        [Key]
        public int HotelId { get; set; }
        /// <summary>
        /// 酒店名称
        /// </summary>
        public string HotelName { get; set; }
        /// <summary>
        /// 酒店类型
        /// </summary>
        [ForeignKey("HotelTypeId")]
        public int HotelTypeId { get; set; }
        /// <summary>
        /// 酒店评分
        /// </summary>
        public decimal Score { get; set; }
        /// <summary>
        /// 酒店描述
        /// </summary>
        public string HotelMessage { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        public decimal Left { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        public decimal Right { get; set; }
        /// <summary>
        /// 酒店地址
        /// </summary>
        public string HotelAddress { get; set; }
    }
}
